﻿/* Main color handler*/
:root {
    --main-color: #038391;
    --bg-color: #eeeeee;
    --sys-message-bg: #F2F2F2;
    --sys-message-color: #03555E;
}

/* Scrollbar colors */
/*::-webkit-scrollbar {
    width: 18px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background-color: var(--main-color);
    border-radius: 6px;
    border: 3px solid var(--bg-color);
}*/
/* Scrollbar colors for (firefox only) */
/*html {
    scrollbar-width: auto;
    scrollbar-color: var(--main-color) var(--bg-color);
}*/

body {
    background-color: white;
    font-family: "Arial";
    font-weight: 700;
}

a, a:active, a:visited, a:hover {
    color: var(--main-color);
}

.breadcrumb-bg {
    background-color: #f5f5f5 !important;
}

.breadcrumb-bg {
    padding: 15px 10px 1px 10px;
}

    .breadcrumb a, a:visited {
        font-weight: 400 !important;
        text-decoration: none !important;
        color: #000000;
    }

        .breadcrumb a:hover {
            font-weight: 700 !important;
            color: #000000;
        }

.breadcrumb-item.active {
    text-decoration: none !important;
    font-weight: 700 !important;
    color: #000000;
}

.font-montserrat {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 18px;
}

.sticky-header {
    position: sticky;
    top: 0;
    background: white;
    z-index: 1000;
}

.image-box {
    position: relative;
}

.animal-wrapper {
    position: relative;
    display: inline-block; /* or block, depends on layout */
    width: 100%;
    /*height: 550px;*/
}

.animal-box {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 10px;
    overflow: hidden;
    background-color: #f0f0f0;
    position: relative;
}

    .animal-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        transition: transform 0.5s ease;
    }

    .animal-box:hover img {
        transform: scale(1.1);
    }

    .animal-box:hover .view-name {
        text-decoration: underline;
    }

    .animal-box::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 35%;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
        pointer-events: none;
    }

.animal-name {
    position: absolute;
    bottom: 40px;
    left: 15px;
    font-size: 1.625rem;
    font-weight: 700;
    z-index: 1;
    font-family: "Arial";
    color: #FFFFFF;
}

.animal-info {
    position: absolute;
    bottom: 10px;
    left: 15px;
    font-size: 20px;
    font-weight: 500;
    z-index: 1;
    font-family: "Arial";
    color: #FFFFFF;
}

.form-control {
    border: 1px solid #000;
    border-radius: 25px;
    height: 50px;
    font-size: 1.25rem;
}

.custom-btn {
    margin-right: 10px;
    margin-bottom: 10px;
    border: 2px solid var(--main-color);
    border-radius: 999px;
    padding: 6px 20px;
    background: white;
    color: black;
    font-weight: 700;
    font-size: 1.25rem;
    display: inline;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

    .custom-btn.active {
        background-color: var(--main-color);
        color: white;
    }

    .custom-btn:hover {
        background-color: var(--main-color);
        color: white;
    }

    .custom-btn.arrow {
        color: var(--main-color);
        font-size: 1.25rem;
        transition: transform 0.3s ease;
    }

    .arrow:hover {
        background-color: var(--main-color);
        color: white;
    }

    .arrow.down {
        color: #FFFFFF;
        transform: rotate(-180deg);
    }


.menu-view {
    background-color: var(--bg-color);
    margin-bottom: 15px;
    padding: 20px;
}

.menu-button {
    border: 0px;
    border-radius: 15px;
    background-color: #ffffff;
    padding-left: 15px;
    padding-right: 15px;
    font-weight: 600;
    font-size: 0.938rem;
    margin: 7px;
}

    .menu-button:hover {
        color: #FFFFFF;
        background-color: var(--main-color);
        text-decoration: none;
    }

.menu-button-selected {
    background-color: var(--main-color);
    text-decoration: none;
    color: #FFFFFF;
}

.menu-button-close {
    color: #ffffff;
    border: 0px;
    border-radius: 15px;
    background-color: #333333;
    padding-left: 15px;
    padding-right: 15px;
    font-weight: 600;
    font-size: 15px;
    margin: 7px;
}

    .menu-button-close:hover {
        color: #000000;
        background-color: #eeeeee;
        border-radius: 15px;
    }

.search-button {
    border: 0px;
    color: #ffffff;
    background-color: var(--main-color);
    border-radius: 50%;
    font-size: 20px;
}

.feature-header {
    display: flex;
    align-items: center;
}

    .feature-header h2 {
        margin: 0;
        padding-right: 10px;
        white-space: nowrap;
    }

    .feature-header::after {
        content: "";
        flex: 1;
        height: 4px;
        background-color: #000000; /* Match your color */
        margin-left: 10px;
    }

.fav-heart {
    position: absolute;
    z-index: 200;
    right: 0;
    top: 0;
    border: 0px;
    color: #CF4240;
    background-color: #ffffff;
    border-radius: 45%;
    font-size: 1.25rem;
    margin: 20px;
}

.fav-heart-active {
    background-color: #ffffff !important;
    color: #CF4240 !important;
}

.search-box {
    width: 100%;
    position: relative;
}

.search-icon {
    position: absolute;
    border-radius: 50%;
    padding: 6px 10px 6px 10px;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background-color: #CF4240;
    color: #ffffff;
    font-size: 16px;
}

a.search-icon:hover {
    color: #ffffff;
}

.row-animal {
    display: flex;
    flex-wrap: wrap;
}

.btn-link-static {
    color: black !important;
    font-weight: 700;
}

.pager-button {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    border: 2px solid var(--main-color);
    background-color: white;
    color: black;
    font-weight: bold;
    margin: 5px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

    .pager-button:hover, .pager-nav:hover {
        background-color: var(--main-color);
        color: #ffffff;
    }

.cust-pager span {
    padding: 5px 10px;
    color: #888;
    font-weight: bold;
}

.pager-current {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background-color: #2C4A4E;
    border: 2px solid var(--main-color);
    color: white;
    font-weight: bold;
    margin: 5px;
}

.pager-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    border: 2px solid var(--main-color);
    background-color: white;
    color: #000000;
    font-weight: bold;
    margin: 5px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    font-size:1.5em;
}

    .pager-nav.aspNetDisabled {
        background-color: #f0f0f0;
        border-color: #ccc;
        color: #aaa;
        cursor: not-allowed;
        pointer-events: none; /* Prevent clicks */
        font-weight: normal;
    }

.ad-label {
    font-weight:400 !important;
    display:block;
    padding-bottom:10px;
    font-size: 18px;
    font-weight:700 !important;
}
.ad-story {
    display: block;
    font-size: 1.375rem;
}
.ad-story-detail {
    font-weight: 400 !important;
}
.ad-click {
    cursor: pointer;
    text-decoration: underline;
    color: var(--main-color);
    font-weight: 700 !important;
}
.ad-img {
    width: 100%;
    min-height: 526px;
    max-height:750px;
    object-fit: cover;
    object-position: center;
}
.ad-detail-name {
    font-size:2.9rem;
    font-weight:700;
}
.ad-detail-id {
    font-size: 1.4rem;
}
.ad-detail-box {
    background-color: var(--bg-color);
    border-radius: 5px;
    min-height: 30px;
    padding: 10px;
}
.ad-close {
    border: 0;
    font-size: 2.5rem;
    color: #333333;
}
.ad-close:hover {
    color: #000000;
    background-color: white;
}
.ad-close-text {
    display: block;
    font-size: 0.625rem;
    color: #333333;
}
.social {
    font-size: 2.5rem;
    padding: 5px;
    color: var(--main-color);
    text-decoration: none;
}
    .social:hover {
        color: #FFFFFF;
        filter: invert(100%);
    }

#link_social_x.social {
    color: var(--main-color) !important;
}

    #link_social_x.social:hover {
        color: #FFFFFF !important;
        filter: invert(100%) !important;
    }

#copyid.social {
    color: var(--main-color) !important;
}

    #copyid.social:hover {
        color: #FFFFFF !important;
        filter: invert(100%) !important;
    }

/*System message styling*/
.tag {
    background-color: var(--sys-message-bg);
    color: var(--sys-message-color);
    padding: 10px;
    font-size: 1.125rem;
    font-weight: 400;
    margin-top: -10px;
    text-align: center;
}

/*image scrollbox*/
ul.images {
    margin-bottom: 10px;
    padding: 0px;
    white-space: nowrap;
    overflow-x: auto;
}

    ul.images li {
        display: inline;
        width: 100px;
        height: 100px;
    }

.looking-for[aria-expanded="true"] .arrow-up {
    display: inline;
}

.looking-for[aria-expanded="true"] .arrow-down {
    display: none;
}

.looking-for[aria-expanded="false"] .arrow-up {
    display: none;
}

.looking-for[aria-expanded="false"] .arrow-down {
    display: inline;
}

.looking-for {
    border: 0;
    background: white;
    color: black;
    font-weight: 700;
    font-size: 16px;
}

input[type="checkbox"] {
    accent-color: var(--main-color);
    transform: scale(2);
    transform-origin: left center;
    margin-left: 10px;
    margin-right: 25px;
    margin-top: 10px;
}

#zoomOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#zoomContainer {
    position: relative;
    width: 60%;
    height: 80%; 
    overflow: hidden;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 10px solid white;
}

#zoomImage {
    max-width: none;
    max-height: none;
    width: auto;
    height: auto;
    transform-origin: center center;
    transition: transform 0.2s ease;
    cursor: grab;
    user-drag: none;
    -webkit-user-drag: none;
    user-select: none;
}

#ZoomMsg {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 11;
    color:white;
    background-color:black;
}

#closeZoom {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-size: 34px;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    text-shadow: 2px 2px 4px rgba(0,0,0,1);
}

#zoomControls {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
    z-index: 20;
}

.zoom-btn {
    background-color: white;
    border: none;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 18px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    transition: background-color 0.2s;
}

    .zoom-btn:hover {
        background-color: #e0e0e0;
    }

.image-container {
    position: relative;
    width: 100px;
    max-width: 100px;
    display: inline;
}

.background-image {
    width: 100px;
    height: 100px;
    display: inline;
}

.overlay-image {
    position: absolute;
    top: -5px;
    left: 25%;
    width: 50px;
    height: auto;
    opacity: 0.9;
}

@media (max-width: 991px) {
    h2 {
        font-size: 2.7777em !important;
    }

    h3 {
        font-size: 2em !important;
    }

    #zoomContainer {
        width: 95%;
        height: 95%;
    }
    #ZoomMsg {
        display:none;
    }
    ul.images li img {
        width: 250px;
        height: 300px;
        padding-right: 10px;
    }
    input[type="checkbox"] {
        transform: scale(4) !important;
        margin-right: 45px;
        margin-top: 40px;
    }
    .form-control {
        font-size: 1.2rem;
        padding: 2.5rem 1rem;
    }
    .search-icon {
        padding: 6px 16px 6px 16px;
        font-size: 40px;
    }
    .checkbox-looks{
        display: block;
    }
    .animal-box {
        min-height: 900px;
        max-height: 900px;
    }

    #DIV_NameSection {
        display: none;
    }

    #DIV_NameSectionSmall {
        display: flex;
    }

    .ad-story-detail {
        font-size: 2.0rem;
    }

    .social {
        font-size: 4.5rem;
        padding: 5px;
        color: var(--main-color);
        text-decoration: none;
    }

    .ad-img {
        max-height: 950px;
    }

    .ad-close {
        font-size: 4.5rem;
    }

    .ad-detail-name {
        font-size: 4.9rem;
    }

    .ad-close-text {
        font-size: 1.25rem;
    }

    .ad-detail-id {
        font-size: 2.5rem;
    }

    .ad-story {
        display: block;
        font-size: 2.5rem;
    }

    .ad-label {
        font-size: 2.5rem;
    }

    .ad-story-detail {
        font-size: 2.5rem;
    }

    .norm-font {
        font-size: 2rem;
    }

    .btn-norm-font {
        font-size: 2rem;
        margin-top: -15px;
    }

    input[type="checkbox"] {
        transform: scale(2);
    }

    .animal-name {
        font-size: 5rem;
        bottom: 60px;
    }

    .animal-info {
        font-size: 3rem;
    }

    .fav-heart {
        font-size: 3.25rem;
        width: 5rem;
    }

    .custom-btn {
        font-size: 2.25rem;
    }

    .arrow {
        font-size: 2.25rem;
    }

    .search-text {
        font-size: 2.5rem;
        display:block !important;
    }

    .form-control {
        height: 50px;
        font-size: 2.5rem;
    }

    .tag {
        font-size: 2.5rem;
    }

    .title-site {
        font-size: 3rem !important;
    }

    .cosa-header {
        font-size: 2.1rem !important;
    }

    .menu-button {
        font-size: 2rem;
    }

    .menu-button-close {
        font-size: 2rem;
    }

    .navbar.titleBarNav {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }

    .appCitylogo img {
        max-width: 140px !important;
    }
    /*Paging buttons for animal list */
    .pager-button {
        width: 80px;
        height: 80px;
        line-height: 5rem;
        font-size: 3rem;
        margin:15px !important;
    }
    /*Paging buttons for animal list */
    .pager-current {
        width: 80px;
        height: 80px;
        line-height: 5rem;
        font-size: 3rem;
        margin: 15px !important;
    }
    /*Paging buttons for animal list */
    .pager-nav {
        width: 80px;
        height: 80px;
        line-height: 5rem;
        font-size: 3rem;
    }
    /*COSA Page loader image size */
    .loader-size {
        width: 300px !important;
        height: 300px !important;
    }
    /*COSA Page loader text size */
    .loader-text {
        font-size: 55px !important;
    }
    .overlay-image {
        position: absolute;
        top: -35px;
        left: 25%;
        width: 50% !important;
        height: 100px !important;
    }
    #closeZoom {
        font-size: 64px !important;
        right:30px !important;
    }
    .breadcrumb {
        font-size:30px !important;
    }
    .zoom-btn {
        font-size: 38px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
}


@media (min-width: 991px) {
    /*Animal name dov box that display on full screen*/ 
    #DIV_NameSectionSmall {
        display: none;
    }
}